package top.zhangjianyong.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.zhangjianyong.blog.entity.po.Role;
import top.zhangjianyong.blog.params.role.*;
import top.zhangjianyong.blog.response.ApiResponse;

/**
 * 角色service
 *
 * @author HDN
 * @since 2024/7/22 上午12:15
 */
public interface RoleService extends IService<Role> {
  ApiResponse page(RolePageParam param);

  ApiResponse remove(RoleRemoveParam param);

  ApiResponse saveOrUpdate(RoleSaveOrUpdateParam param);

  ApiResponse menus(RoleMenusParam param);

  ApiResponse menusUpdate(RoleMenusUpdateParam param);

  ApiResponse list(RoleListParam param);
}
